<?php


namespace Modules\Common\Models;


use Modules\Common\Models\Validation\ActivationCodesValidation;

class ActivationCodes extends BaseModel
{
    protected $connection = 'mysql';
    protected $table = 'activation_codes';
    use ActivationCodesValidation;

    public function adminUser()
    {
        return $this->belongsTo(AdminUser::class, 'admin_user_id');
    }
    
    public function subscriptionTypes()
    {
        return $this->belongsTo(SubscriptionTypes::class, 'subscription_type_id');
    }
}
